import { WeaTools } from 'ecCom';

export const getMySms = params => WeaTools.callApi('/api/sms/manage/viewMessageList', 'POST', params);

export const getAllSms = params => WeaTools.callApi('/api/sms/manage/manageMessageList', 'POST', params);

export const doCancel = params => WeaTools.callApi('/api/sms/manage/cancelSms', 'POST', params);

export const doDel = params => WeaTools.callApi('/api/sms/manage/deleteSms', 'POST', params);

export const reSend = params => WeaTools.callApi('/api/sms/manage/reSendSms', 'POST', params);

export const getMySmsCondition = params => WeaTools.callApi('/api/sms/manage/getMySmsCondition', 'POST', params);

export const getAllSmsCondition = params => WeaTools.callApi('/api/sms/manage/getAllSmsCondition', 'POST', params);

export const viewSms = params => WeaTools.callApi('/api/sms/manage/viewSms', 'POST', params);
